package com.rsa.common;

/**
 * @author lf
 * @Description: 公共变量存储类
 * @date 2020/7/30 12:36
 */
public interface RasCommon {

    /**
     * keysize的大小
     */
    int[] KEY_PAIRGENERATOR_SIZE = {1024};

    /**
     * RSA最大加密明文大小
     */
    int[] MAX_ENCRYPT_BLOCK = {117};

    /**
     * RSA最大解密密文大小
     */
    int[] MAX_DECRYPT_BLOCK = {128};

    /**服务调用方私钥*/
    String CALLER_PRIVATE = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAIP8o8BqSyA7j9GoAmxiFc7vwGcYPITTzmz0jEYmVN93sBhvmKWdS9zgzlzYjlM+sMgd8d9nkE56jrgVOK3t2Ow/6s02RFrnqscrNOaa3UgoxMgTt4zrpDoKDuU0G42vJI75/Kqg3xuPx6zg71bbXOF3Wi4gGt1Q22QB8glJE1TDAgMBAAECgYA8p9ABT1fzGiw/53wlnvXywc+kEUlOqaAGBmSooFkE0ZZFxJNcGOuSOGXd2U+fBgJsFQbg6lExH7WS932ywMmdLJQYurVw4EIfDsDV1E0kLRjeNdsH1knWrgcwOCvbji6vTMsO9VvaLjcYkkweAFrnpCHnnCoOVkYo5Jm6aVS4oQJBAN+oaTeHvK1+O7F2R04paAjk7IaaVlwgJF6chlHN7J8NSg0eFsrB8xxFgETdtNqsJDgw3DiA3PE6q5JJovPvhZkCQQCXEqk6eP8T4ckXqBwNLuHJ2Lk9TnbTXWs7GKBoG6btbR9k5ujU83YfaqgnAJ0NPtuMbeqUTi2XGAyUJq7CfW67AkAU3X9DYPRnMxmairBISHCeM80lGYzo906tTOjzBMUIaZL4+k+iBsoJXyqCQjS3GcwfOd+xncP+9TxAX4JGQ5gxAkEAgEePPSB68AX7/EN6NlOF1CBcAsu6qHWd1RtvMZexYdAUJVjRgemNdtXZHO0vbozeXlsDIpVTrwXzwGUsZeeeewJAS9EJhExdWl4AlWTcBdotrlB7pPWMI/56t7sXwvHoM80bFyDngfz7yGRz2LjWI5/nKUOQykfQ602oPQByToONOw==";
    /**服务调用方公钥*/
    String CALLER_PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCD/KPAaksgO4/RqAJsYhXO78BnGDyE085s9IxGJlTfd7AYb5ilnUvc4M5c2I5TPrDIHfHfZ5BOeo64FTit7djsP+rNNkRa56rHKzTmmt1IKMTIE7eM66Q6Cg7lNBuNrySO+fyqoN8bj8es4O9W21zhd1ouIBrdUNtkAfIJSRNUwwIDAQAB";

    /**服务提供商私钥*/
    String PROVIDER_PRIVATE = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJNlqTIMZ6rUX2Qfj4KrN28RKjenmA2B0Foh5BlZE0qJsL6K8Zts0d/n1f8mYIjj/JIV8YAZvclzjYukjQf4t9eDEdeyag+asDWvT/LNRq8aHnEgRzUt6E0K3ogDW1ySeoZjaiiazXPP2Zx42318tBJHoJYu+NggfvPuJivpJAGVAgMBAAECgYAXjxkzCa6MLHOuwiii/xDWLM0tphj0l7ognegicQ1XTZi1a+ngKM2G1zxqEs09NAuLofw+uF6QU2rdVgjArG1dwrsrNjTA70NfdFp+VsRc50Ep/Pfo6Ow3/fK7JJvQFLJuumfLl5OB1QXBX1+Bw47IkL/hV9vMW8CDPGZWlkTqBQJBAOrKrY0v3vs9nFaVfz7v409RxsoYlxP96vPTU08fH6ePS6HigRAdjZ5cr0vRDEVEGj4vyagpP3SmQhHp/MrX94cCQQCgthIjE9draMHGjyDY+8Swkxry7+8lQI7CvEonPzokwPa+7TL7funF3jvE4lWTBZtTgThCvpTYZvSOjbBcs80DAkEAjH+GBROdWjiPAhzpjQ7dtgxYaXz3guYSH5/YnWMhfRI5jwDMfIlCwn3yA+tvbU+IaKgOAwvTxgjrRm7/b552pwJAeicJkBnjseM07gwaJnLvJFsbr62JMuJn4EInhr87HXaB1csK5jenzlrFSTfTXWV0kzrznV+oWPegSL4PX9bWKwJAAXITug+WTU2SF6bHcTNI6EHnbZbnrmQ0L6vlNVE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